/*
 * @Author: 高瑞寒 15932717091@163.com
 * @Date: 2022-05-08 23:16:33
 * @LastEditTime: 2022-05-16 00:56:38
 * @LastEditors: 高瑞寒 15932717091@163.com
 * @Description: 
 */
import Login from "../pages/Login"
import Register from "../pages/Register"
import List from "../pages/List"
import ListList from "../pages/ListList"
import Means from "../pages/Means"
import Edit from "../pages/Edit"
import Layout from "../Layout"
// import { Navigate } from "react-router-dom"
const routers = [
  {
    path: '/login',
    element: <Login />
  },
  {
    path: '/register',
    element: <Register />
  },
  {
    path: '/',
    element: <Layout />,
    children: [
      {
        path: 'list',
        element: <List />
      },
      {
        path: 'listList',
        element: <ListList />
      },
      {
        path: 'edit',
        element: <Edit />
      },
      {
        path: 'means',
        element: <Means />
      },
    ]
  }
]
export default routers